package com.henu.cee_service.service;

import com.henu.cee_service.entity.News;
import com.henu.cee_service.vo.req.NewsAddReqVO;
import com.henu.cee_service.vo.req.NewsPageReqVO;
import com.henu.cee_service.vo.req.NewsUpdateReqVO;
import com.henu.cee_service.vo.resq.PageVO;

/**
 * description: NewsService
 * date: 2020/9/19 16:48
 * author: JSM
 * version: 1.0
 */
public interface NewsService {
    PageVO<News> pageInfo(NewsPageReqVO vo);

    void addNew(NewsAddReqVO vo);

    News queryById(Integer id);

    void updateNew(NewsUpdateReqVO vo);

    void deleteNew(Integer id);
}
